export type DeviceInfo = {
    id: string,
    name: string,
    temperature: number,
    humidity: number,
    lightMagnitude: number,
    h2s: number,
    created: string,
    updated: string
}

export type DeviceLog = {
    id: string,
    deviceId: string,
    temperature: number,
    humidity: number,
    h2s: number,
    lightMagnitude: number,
    uploadTime: string
}

export type DeviceThreshold = {
    id: string,
    deviceId: string,
    temperatureUpper: number,
    temperatureLower: number,
    humidityUpper: number,
    humidityLower: number,
    created: string,
    updated: string,
}